package com.cskaoyan.bean;

public class MySingleton5 {

    //private static MySingleton5 mySingleton5;

    private MySingleton5() {
    }

    public static MySingleton5 getInstance() {
        return Inner.getInnerInstance();
    }

    static class Inner{
        private static MySingleton5 mySingleton5;
        static {
            mySingleton5 = new MySingleton5();
        }
        public static MySingleton5 getInnerInstance() {
            return mySingleton5;
        }
    }
}
